[INFO] fetching crate a11y 0.2.2...
[INFO] checking a11y-0.2.2 against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] extracting crate a11y 0.2.2 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate a11y 0.2.2
[INFO] finished tweaking crates.io crate a11y 0.2.2
[INFO] tweaked toml for crates.io crate a11y 0.2.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate a11y 0.2.2 on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate a11y 0.2.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 05e1309767d5ba2058ea56de4ab00637e87e8fc1bb979ccdc9158ef66e567991
[INFO] running `Command { std: "docker" "start" "-a" "05e1309767d5ba2058ea56de4ab00637e87e8fc1bb979ccdc9158ef66e567991", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "05e1309767d5ba2058ea56de4ab00637e87e8fc1bb979ccdc9158ef66e567991", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05e1309767d5ba2058ea56de4ab00637e87e8fc1bb979ccdc9158ef66e567991", kill_on_drop: false }`
[INFO] [stdout] 05e1309767d5ba2058ea56de4ab00637e87e8fc1bb979ccdc9158ef66e567991
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 72025ae2391a221816f4d323b47844a1caeddabc14677a8e57f0b91e57a253a2
[INFO] running `Command { std: "docker" "start" "-a" "72025ae2391a221816f4d323b47844a1caeddabc14677a8e57f0b91e57a253a2", kill_on_drop: false }`
[INFO] [stderr]     Checking a11y v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0412]: cannot find type `OnceLock` in this scope
[INFO] [stdout]   --> src/lib.rs:37:27
[INFO] [stdout]    |
[INFO] [stdout] 37 | static LIBRARY_DIRECTORY: OnceLock<PathBuf> = OnceLock::new();
[INFO] [stdout]    |                           ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 16 + use std::sync::OnceLock;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope
[INFO] [stdout]   --> src/lib.rs:37:36
[INFO] [stdout]    |
[INFO] [stdout] 37 | static LIBRARY_DIRECTORY: OnceLock<PathBuf> = OnceLock::new();
[INFO] [stdout]    |                                    ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 16 + use std::path::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `a11y` (lib) due to 6 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OnceLock`
[INFO] [stdout]   --> src/lib.rs:37:47
[INFO] [stdout]    |
[INFO] [stdout] 37 | static LIBRARY_DIRECTORY: OnceLock<PathBuf> = OnceLock::new();
[INFO] [stdout]    |                                               ^^^^^^^^ use of undeclared type `OnceLock`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 16 + use std::sync::OnceLock;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope
[INFO] [stdout]   --> src/lib.rs:43:44
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn get_library_path(lib_name: &str) -> PathBuf {
[INFO] [stdout]    |                                            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 16 + use std::path::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope
[INFO] [stdout]   --> src/lib.rs:59:21
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn setup(path: &PathBuf) {
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 16 + use std::path::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_rigela_library_path` in this scope
[INFO] [stdout]   --> src/lib.rs:51:16
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn get_library_path(lib_name: &str) -> PathBuf {
[INFO] [stdout]    | -------------------------------------------------- similarly named function `get_library_path` defined here
[INFO] [stdout] ...
[INFO] [stdout] 51 |     let path = get_rigela_library_path();
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_library_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OnceLock` in this scope
[INFO] [stdout]   --> src/lib.rs:37:27
[INFO] [stdout]    |
[INFO] [stdout] 37 | static LIBRARY_DIRECTORY: OnceLock<PathBuf> = OnceLock::new();
[INFO] [stdout]    |                           ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 16 + use std::sync::OnceLock;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope
[INFO] [stdout]   --> src/lib.rs:37:36
[INFO] [stdout]    |
[INFO] [stdout] 37 | static LIBRARY_DIRECTORY: OnceLock<PathBuf> = OnceLock::new();
[INFO] [stdout]    |                                    ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 16 + use std::path::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OnceLock`
[INFO] [stdout]   --> src/lib.rs:37:47
[INFO] [stdout]    |
[INFO] [stdout] 37 | static LIBRARY_DIRECTORY: OnceLock<PathBuf> = OnceLock::new();
[INFO] [stdout]    |                                               ^^^^^^^^ use of undeclared type `OnceLock`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 16 + use std::sync::OnceLock;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope
[INFO] [stdout]   --> src/lib.rs:43:44
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn get_library_path(lib_name: &str) -> PathBuf {
[INFO] [stdout]    |                                            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 16 + use std::path::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope
[INFO] [stdout]   --> src/lib.rs:59:21
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn setup(path: &PathBuf) {
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 16 + use std::path::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_rigela_library_path` in this scope
[INFO] [stdout]   --> src/lib.rs:51:16
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn get_library_path(lib_name: &str) -> PathBuf {
[INFO] [stdout]    | -------------------------------------------------- similarly named function `get_library_path` defined here
[INFO] [stdout] ...
[INFO] [stdout] 51 |     let path = get_rigela_library_path();
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_library_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `a11y` (lib test) due to 6 previous errors
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "72025ae2391a221816f4d323b47844a1caeddabc14677a8e57f0b91e57a253a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72025ae2391a221816f4d323b47844a1caeddabc14677a8e57f0b91e57a253a2", kill_on_drop: false }`
[INFO] [stdout] 72025ae2391a221816f4d323b47844a1caeddabc14677a8e57f0b91e57a253a2
